﻿namespace MicrobloggingInterface
{
    public interface IMicroblogging
    {
        /// <summary>
        /// Get last error message.
        /// </summary>
        /// <returns>Error message.</returns>
        string GetLastError();

        /// <summary>
        /// Issue a new microblogging message.
        /// </summary>
        /// <returns>True for issuing success, false otherwise.</returns>
        //bool Issue();

        /// <summary>
        /// 
        /// </summary>
        /// <param name="userName"></param>
        /// <param name="password"></param>
        /// <param name="content"></param>
        /// <returns></returns>
        bool Issue(string userName, string password, string content);
    }
}
